package com.ccovo.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.ccovo.domain.dto.PageDTO;
import com.ccovo.domain.dto.UserDTO.UserAddDTO;
import com.ccovo.domain.dto.UserDTO.UserEditDTO;
import com.ccovo.domain.po.User;
import com.ccovo.domain.query.UserQuery;
import com.ccovo.domain.vo.UserVO;

/**
* @author Maxio
* @description 针对表【user】的数据库操作Service
* @createDate 2024-12-20 19:52:42
*/
public interface IUserService extends IService<User> {

    Long saveUser(UserAddDTO addDTO);

    User selectById(Long id);

    Boolean updateUserById(UserEditDTO editDTO);

    Boolean deleteById(Long id);

    PageDTO<UserVO> selectPage(UserQuery userQuery);

}
